/*
 * @Author: cgl
 * @Date: 2023-04-19 14:57:57
 * @LastEditors: cgl
 * @LastEditTime: 2023-04-19 14:58:19
 * @FilePath: \public-health-emergencies-fed:\radiation-hygiene-fe\src\api\person\hygieneSite.js
 * @Description: 
 * 
 * Copyright (c) 2023 by cgl/微盛信息产业有限公司, All Rights Reserved. 
 */
import request from '@/utils/request'

// 查询放射场所信息分页列表
export function radiationSiteList(params) {
  return request({
    url: '/basic/entrust/radiationSite/list',
    method: 'get',
    params,
  })
}
// 导出放射场所信息列表
export function radiationSiteExport(data) {
  return request({
    url: `/basic/entrust/radiationSite/export`,
    method: "post",
    data,
  });
}
// // 查询放射场所信息列表
// export function radiationSiteListing(params) {
//   return request({
//     url: '/basic/entrust/radiationSite/listing',
//     method: 'get',
//     params,
//   })
// }
// 获取放射场所信息详细信息
export function radiationSiteDetail(radiationSiteId) {
  return request({
    url: '/basic/entrust/radiationSite/getInfo/' + radiationSiteId,
    method: 'get'
  })
}
// 新增放射场所信息
export function radiationSiteAdd(data) {
  return request({
    url: `/basic/entrust/radiationSite/add`,
    method: "post",
    data,
  });
}
// 修改放射场所信息
export function radiationSiteEdit(data) {
  return request({
    url: '/basic/entrust/radiationSite/edit',
    method: 'post',
    data,
  })
}
// 删除放射场所信息
export function radiationSiteDelete(radiationSiteIds) {
  return request({
    url: '/basic/entrust/radiationSite/remove/' + radiationSiteIds,
    method: 'get'
  })
}